package com.lry.crawlers.cartoon.service.impl;

import com.lry.crawlers.cartoon.entity.CartoonContent;
import com.lry.crawlers.cartoon.mapper.CartoonContentMapper;
import com.lry.crawlers.cartoon.service.CartoonContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CartoonContentServiceImpl implements CartoonContentService {

    @Autowired
    CartoonContentMapper cartoonContentMapper;


    @Override
    public int setCartoonContent(CartoonContent cartoonContent) {
        int insert = cartoonContentMapper.insert(cartoonContent);
        return insert;
    }

}
